import { http } from '@/utils/http'
import type { PageParams } from '@/types/global'
import type { HotRecommend } from '@/types/hot'
export type hotParams = PageParams & { subType?: string }

export const queryHotRecommend = (url: string, data?: hotParams) => {
  return http<HotRecommend>({
    method: 'GET',
    url,
    data,
  })
}
